package com.co.video.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author ldl.plus
 * @date 2020年06月22日  0:41
 * TvVdetail构建
 */
@Table(name = "tv_vdetail")
public class Detail implements Serializable {

    @Id
    @Column(name = "aid")
    private String aid;//av号 主键

    @Column(name = "title")
    private String title;//视频名称

    @Column(name = "Image")
    private String image;//视频缩略图地址

    @Column(name = "url")
    private String url;//视频真实url,第一个视频

    @Column(name = "upload_time")
    private Date uploadTime;//视频上传时间

    @Column(name = "category_id")
    private String categoryId;//视频所属组群(分类id)

    @Column(name = "durations")
    private Integer durations;//视频总时常

    @Column(name = "status")
    private Integer status;//视频审核状态 0为下架inactive 1为上架active  2为删除

    @Column(name = "username")
    private String username;//up主关联username

    @Column(name = "is_upload")
    private Integer isUpload;//是否上传成功 0为fail 1为successful

    @Column(name = "comment")
    private String comment;//视频简介

    @Column(name = "videos")
    private Integer videos;//该视频有多少P

    @Column(name = "create_time")
    private Date createTime;//创建时间

    @Column(name = "update_time")
    private Date updateTime;//更新时间


    //get方法
    public String getAid() {
        return aid;
    }

    //set方法
    public void setAid(String aid) {
        this.aid = aid;
    }

    //get方法
    public String getTitle() {
        return title;
    }

    //set方法
    public void setTitle(String title) {
        this.title = title;
    }

    //get方法
    public String getImage() {
        return image;
    }

    //set方法
    public void setImage(String Image) {
        this.image = Image;
    }

    //get方法
    public String getUrl() {
        return url;
    }

    //set方法
    public void setUrl(String url) {
        this.url = url;
    }

    //get方法
    public Date getUploadTime() {
        return uploadTime;
    }

    //set方法
    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    //get方法
    public String getCategoryId() {
        return categoryId;
    }

    //set方法
    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    //get方法
    public Integer getDurations() {
        return durations;
    }

    //set方法
    public void setDurations(Integer durations) {
        this.durations = durations;
    }

    //get方法
    public Integer getStatus() {
        return status;
    }

    //set方法
    public void setStatus(Integer status) {
        this.status = status;
    }

    //get方法
    public String getUsername() {
        return username;
    }

    //set方法
    public void setUsername(String username) {
        this.username = username;
    }

    //get方法
    public Integer getIsUpload() {
        return isUpload;
    }

    //set方法
    public void setIsUpload(Integer isUpload) {
        this.isUpload = isUpload;
    }

    //get方法
    public String getComment() {
        return comment;
    }

    //set方法
    public void setComment(String comment) {
        this.comment = comment;
    }

    //get方法
    public Integer getVideos() {
        return videos;
    }

    //set方法
    public void setVideos(Integer videos) {
        this.videos = videos;
    }

    //get方法
    public Date getCreateTime() {
        return createTime;
    }

    //set方法
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    //get方法
    public Date getUpdateTime() {
        return updateTime;
    }

    //set方法
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


}
